<template>
    <div>
        {{ left }} - {{ top }}
    </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import useMousePosition from '../utils/useMousePosition'

export default defineComponent({
    setup() {
        const { left, top } = useMousePosition()
        return {
            left,
            top
        }
    },
})
</script>
